<p><span><input type="button" id="add_device_btn" value="增加设备" /></span>
</p>
<table border="1" align='center' style="width:100%;" id="device_table">
	<tr align ="center">
		<td>编号</td><td>域名</td><td>是否支持下载</td><td>user_agent</td><td>设备</td><td>操作</td>
	</tr>
	<#if deviceList??>
		<#list deviceList as device>
		<tr align="center">
			<td>${device_index + 1}</td>
			<td>${device.domain ! ""}</td>
			<td><#if (device.downSupport ! 0) == 0>否<#else>是</#if></td>			
			<td style="width:500px; text-align: left">${device.simulateAgent ! ''}</td>
			<td>${device.sysId ! ""}</td>			
			<td>
				<a class="update" href="javascript:;" deviceId="${device.id}">修改</a> /
				<a class="delete" href="javascript:;" deviceId="${device.id}">删除</a>
			</td>
		</tr>
		</#list>
	<#else>
		<tr><td colspan="6">No Record</td></tr>
	</#if>	
</table>
<span><input type="button" id="apply_device_btn" value="删除缓存" /></span>